package com.initial.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.initial.entity.TbCrmEmployee;
import com.initial.entity.TbSystemRole;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;

/**
 * 
 * @TableName tb_system_user
 */
@TableName(value ="tb_system_user")
@Data
@Alias("user")
public class TbSystemUser implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    private Integer state;

    private TbCrmEmployee tbCrmEmployee;

    private TbSystemRole tbSystemRole;

    private TbCrmEmployee tbCrmEmployee2;

    private TbCrmEmployee tbCrmEmployee3;
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}